﻿using System;
using FreeSql.DataAnnotations;

namespace Colorful.Furniture.IEntity;

/// <summary>
///  租户
/// </summary>
public interface ITenant<TPrimaryKeyType>
{
    /// <summary>
    ///  租户id
    /// </summary>
    [Column(Name = "tenant_id", Position = -83)]
    TPrimaryKeyType TenantId { get; set; }
}

/// <summary>
///  Guid租户
/// </summary>
public interface ITenantGuid : ITenant<Guid?>
{

}